if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_NgoaiTe_GetByID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_NgoaiTe_GetByID]
GO

CREATE PROCEDURE [sp_NgoaiTe_GetByID]
	@ID				int
AS
BEGIN
	SELECT ID,Don_vi_goc,Ki_hieu,Ty_gia,Child_id,Ghi_chu,Ngay_cap_nhat_cuoi From NgoaiTe
	WHERE ID = @ID
END